package com.zhichat.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhichat.entity.AppVersionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * app发布记录表
 *
 * @Author: 团长九哥 https://space.bilibili.com/602197686
 * @email insanetz@163.com
 * @date 2024-11-25 11:53:16
 */
@Mapper
@Repository
public interface AppVersionDao extends BaseMapper<AppVersionEntity> {

    /**
     * 查询最新版本
     */
    AppVersionEntity getNewVersion(@Param("appVersion") String appVersion, @Param("userId") Long userId);
}
